//# 为react-amap跨域
module.exports = {
    output: {
        crossOriginLoading: 'anonymous',
    },
    module: {
        rules: [
            {
                test: /\.jsx?$/,
                exclude: /node_modules/,
            }
        ]
    },

};



/**【实际上】不在这里做的修改配置：
 在对.../node_modules/react-scripts/config/webpack.config.js 做如下的修订:
 module: {
 strictExportPresence: true,
 rules: [
 shouldUseSourceMap && {
 exclude: [/@babel(?:\/|\\{1,2})runtime/,/node_modules/],
 之后编译没报错Failed to parse source map from '\src\Icons\icons\IconCalendar.tsx' file: Error: ENOENT: no such file
 但是yarn运行更新之后照样恢复exclude: /@babel(?:\/|\\{1,2})runtime/, 再次出错{导致不断接收ws://}，#但?家里电脑为何不报该错。
 * */
